package com.lnking.lnkingplace.mapper;

import com.lnking.lnkingplace.model.entity.ReadStatistics;
import com.lnking.starter.mybatis.mapper.CustomBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sn
 * @since 2022-08-24
 */
public interface ReadStatisticsMapper extends CustomBaseMapper<ReadStatistics> {

    @Select(" select * from read_statistics where notice_id = #{noticeId} ")
    ReadStatistics getInfoByNoticeId(String noticeId);
}
